/**
 * @author peter
 */

dojo.provide("bunkai.bk_resource");
dojo.declare("bk_resource", null,
{	
	constructor: function(){},
	resource_id : "",  // Set by subclass	
	
	// Internal. Called when user action loads a file and propagates this load back to framework
	load: function(data, id)
	{
			dojo.publish("bk_load_file", {file_id: id, data: data, resource_id: this.resource_id});
	},
		
	// called by framework
	saveFromFramework: function(data, id)
	{
			
	},
		
	list: function()
	{
			
	}
});
